package cn.iocoder.yudao.module.dine.config.pojo.po;

import cn.iocoder.yudao.framework.business.basic.pojo.po.MerchantScopeEntity;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * <pre>
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * 数据库表实体
 * OOoO0OOoO0OOOooo0oOOOO0OOOOO0oooOO0ooOOO0Ooooo0OOOOo0ooooO0OOooo0Ooooo0OOOOO
 * </pre>
 *
 * @author 山野羡民（1032694760@qq.com）
 * @since 2025/09/07
 */
@Data
@TableName(value = "dine_time_range", autoResultMap = true)
@Schema(description = "点餐时段配置")
public class DineTimeRange extends MerchantScopeEntity {

    @Schema(description = "分类编号")
    private Long categoryId;

    @Schema(description = "时段，JSON数组，如[\"11:00~11:30\"]")
    @TableField(typeHandler = JacksonTypeHandler.class)
    private List<String> timeRange;

}
